export interface Trigger {
  // 题目id
  formItemId?: string | null;
  // 选择值
  optionValue?: any;
  type: "show" | "jump" | "finish" | "showOption" | "checkOption"; // 触发器类型
}

export interface Condition {
  formItemId: string | null;
  expression: string | null; // 表达式
  optionValue: any | null; // 选项值
  relation: "AND" | "OR"; // 关系
}

export interface LogicItem {
  id: string;
  triggerList: Trigger[];
  conditionList: Condition[];
}
